<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>


<script>
    let arr=['1',"123",34];

    for (let arrElement of arr) {
        console.log(arrElement);

    }

    for(let index in arr){
        console.log(arr[index]);
    }



</script>

<script>

    let student={
        name:"zs",
        age:22

    }

    for (let studentKey in student) {
        console.log(student[studentKey]);

    }




</script>
</html>